<!doctype html>
<html lang="ko">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{% if request.state.config and request.state.config.cf_add_meta -%}
    {{ request.state.config.cf_add_meta|safe -}}
{% endif -%}
<title>{% block title %}{{ request.state.title }}{% endblock title %}</title>
<link rel="icon" href="/static/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="{{ theme_asset(request, 'mobile/css/default.css?ver=1.0.6') }}">
<link rel="stylesheet" href="{{ theme_asset(request, 'js/slick/slick.css?ver=1.8.1') }}">
<link rel="stylesheet" href="/static/js/font-awesome/css/all.min.css?ver=6.5.1">
<script src="/static/js/jquery.min.js?ver=3.7.1"></script>
<script src="/static/js/jquery-migrate.min.js?ver=3.4.0"></script>
<script src="/static/js/common.js?ver=1.0.0"></script>
<script src="/static/js/wrest.js?ver=1.0.0"></script>
<script src="{{ theme_asset(request, 'js/slick/slick.min.js?ver=1.8.1') }}"></script>
<script src="/static/js/font-awesome/js/all.min.js?ver=6.5.1"></script>
<script>
// yvabas脚本使用的全球变量的声明
const g6_url       = "{{ request.base_url }}";
const g6_bbs_url   = "{{ request.base_url }}bbs";
const g6_is_member = "{{ 1 if request.state.login_member else '' }}";
const g6_is_mobile = "{{ 1 if request.state.is_mobile else '' }}";
const g6_editor    = "{{ request.state.editor }}";
const g6_cookie_domain = "{{ request.state.cookie_domain }}";
const g6_shop_url = "{{ request.base_url }}shop";
</script>
{% block head -%}
{% endblock head -%}
{% if request.state.config -%}
    {{ request.state.config.cf_add_script|safe -}}
{% endif -%}
</head>
<body>
{% block body_html %}
    {% block content %}
    {% endblock content %}
{% endblock body_html %}
</body>
</html>
